import request from '@/utils/request'

export function getDefectTypeTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectTypeTableLists',
    method: 'POST',
    data: params
  })
}

export function getDefectPositionTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectPositionTableLists',
    method: 'POST',
    data: params
  })
}

export function getDefectLineTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectLineTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectSiteTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectSiteTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectSectionTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectSectionTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectWorkShopTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectWorkShopTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectWorkShopMonthTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectWorkShopMonthTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectSectionMonthTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectSectionMonthTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectLineMonthTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectLineMonthTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectWorkShopQuarterTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectWorkShopQuarterTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectSectionQuarterTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectSectionQuarterTableLists',
    method: 'post',
    data: params
  })
}

export function getDefectLineQuarterTableList(params) {
  return request({
    url: '/cms/defectInfo/getDefectLineQuarterTableLists',
    method: 'post',
    data: params
  })
}
